/*
 * @Description:
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2023-09-25 14:04:46
 * @LastEditors: Seven
 * @LastEditTime: 2023-10-24 08:41:48
 */
import { getDicDataList } from "@/services/modules/plan";
import { loacalCache } from "@/ultils/func";
import React, { memo, useEffect } from "react";
import { Outlet } from "react-router-dom";

const WorkorderManagement = memo(() => {
  useEffect(() => {
    getDicDataList().then((res) => {
      if (res.code === 200) {
        loacalCache.setCache("DicDataList", res?.data);
      }
    });
  }, []);

  return (
    <div>
      <Outlet />
    </div>
  );
});

export default WorkorderManagement;
